package com.cn.qtms.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Name:SmsMessage
 * @Description:
 * @Author: Neil
 * @Date: 2019-08-23 14:58
 **/
@Data
@NoArgsConstructor
public class SmsMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    private String phone;

    private String code;

    public SmsMessage(String phone, String code) {
        this.phone = phone;
        this.code = code;
    }

    @Override
    public String toString() {
        return "SmsMessage{" +
                "phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
